home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
x11
/
strategy
/
xnetbris.00
/
xnetbris
/
README
< prev
next >
Wrap
Text File
|
1995-09-19
|
2KB
|
55 lines
Netbrisk Version 1.00
This a networked-multiplayer X-Windows brisk card game.
There a 2 clients:
client-text is text only and is used mainly for debugging
xbrisk is a X-Windows client which has scanned bitmaps for cards
You NEED the Xpm library which is freely available.
Brisk is an Italian card game and uses a special deck of 40 cards each with
4 suits of 10 cards each. There is a text file (BRISK.RULES) for
people who don't know the first thing about brisk.
Here is a list of files:
Imakefile (an imakefile)
Makefile (a sample Linux makefile if you don't have xmake)
chris.c (a dumb computer player)
client-text.c (a text-based client brisk program)
client.c (the network back-end for the xbrisk client)
xbrisk.c (the graphical front-end for the xbrisk client)
bitmaps/*.xpm (the bitmaps for the xbrisk program, all 1-bit xpm pixmaps)
server.c (the server for netbrisk using TCP/IP)
README (this file)
COPYING (how you are allowed to copy this package)
TODO (some future improvments, explains current bugs)
BRISK.RULES (a simple primer for brisk)
To create executables:
Run xmkmf to generate a Makefile and then type "make". If everything goes well,
you should get 4 executables: chris, client-text, server and xbrisk.
Once you have the binaries, type "server 2 chaos" to start up the server. You
can then throw in a computer player by typing "chris localhost", then you can
join the game by typing "xbrisk localhost".
Then, if you want to play against another player, start the server as before,
but type "xbrisk localhost" on the machine that the server is running on and
"xbrisk <sitname>" where sitename is the name of the machine which is running
the server.
--Known Problems---
If you are running under SunOS and the server crashes with a segmentation
fault, try compiling it with the System V compiler as this seems to fix the
problem.
Also, on SunOS, I've seen cases where the only bitmap to display is the
background one. If you are having this problem, then try to decrease the number
of colours in the bitmaps by using:
xpmtoppm <filename> | ppmquant 2 | ppmtoxpm > <filename>.xpm
for each file in the bitmaps/ directory. Don't be surprised if xpmtoppm gives
you an error - there's a bug in it which needs to be fixed (add #include <math.h>
at the start of it).
Comments and suggestions are welcome at bartlett@io.org
-Brendan Bartlett